/**
 * 
 */
package gsm.cable.server.filters;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResponseWrapper;

/**
 * @author acer
 * 
 */
public class ResponseWraper extends HttpServletResponseWrapper {

	private int statusCode;

	private String message;

	public ResponseWraper(HttpServletResponse response, int stausCode) {
		super(response);
		this.statusCode = stausCode;
	}

	public int getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	public void setStatusDetail(int statusCode, String message) {
		this.statusCode = statusCode;
		this.message = message;
	}

	public String getMessage() {
		return message;
	}
}
